package com.hzw.saas.api.group.bo;

import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 群组
 * </p>
 *
 * @author sonam
 * @since 2020-12-23
 */
@Data
@ApiModel("群组信息")
@EqualsAndHashCode(callSuper = false)
public class GroupBo implements Serializable {

    private static final long serialVersionUID = 8027182063289489139L;

    @ApiParam(hidden = true)
    @ApiModelProperty(value = "groupId", required=true)
    private String groupId;

    @NotBlank(message = "群组名称不能为空")
    @ApiModelProperty(value = "群组名称", required=true)
    private String groupName;

    @ApiModelProperty(value = "群组头像")
    private String groupAvater;

    @ApiModelProperty(value = "群组摘要")
    private String groupDesc;

    @ApiParam(hidden = true)
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiParam(hidden = true)
    @ApiModelProperty(value = "拥有者ID")
    private String ownerId;

}
